import Vue from 'vue'
import Vuex from 'vuex'

import locationMethod from "./modules/locationMethod.js"
import index from "./modules/index.js"
import match from "./modules/match.js"
import news from "./modules/news.js"
import introduce from "./modules/introduce.js"
import login from "./modules/login.js"
import contactUs from "./modules/contactUs.js"
import works from "./modules/works.js"
import userCenter from "./modules/userCenter.js"
import vote from "./modules/vote.js"

Vue.use(Vuex)

export default new Vuex.Store({
	modules: {
		locationMethod,
		index,
		match,
		news,
		introduce,
		login,
		works,
		contactUs,
		userCenter,
		vote
	},
	strict: true
})
